/*
-----------------------------------------------------------------------------
This source file is part of Labor3D
(Labor 3D Graphics Engine)

Copyright (c) 2009-2020 Rock Mao
* creator : Rock Mao
* created : 2011-2-11   11:37
* filename: LaborLBMModel.cpp
-----------------------------------------------------------------------------
*/
#include "stdafx.h"

#include "LaborLBMModel.h"
#include "../LaborCore.h"
#include "Common/LaborFileSystem.h"
#include "Model/LaborVertexFormatDefine.h"
NAMESPACE_LABOR3D_BEGIN

//---------------------------------------------------------------------
CLLBMModel::CLLBMModel(LaborBaseTextureMgr* pTexMgr , bool bSysMemCopy)
:CLBaseModel(pTexMgr , bSysMemCopy)
{

}

//---------------------------------------------------------------------
CLLBMModel::~CLLBMModel()
{

}

bool CLLBMModel::load(const wchar_t* fileName , const xint8_u* buf , size_t bufLen, unsigned long arg)
{
	m_aabb.init(100000000.0f);
	std::ds_wstring _ext = xFileSystem::singleton()->getFileExtName( fileName );
	if(_ext == L"lbm")
	{
		return false;
	}

	return true;
}
NAMESPACE_LABOR3D_END
